package interfaces;

import entity.BookType;

import java.util.List;

public interface BookTypeServiceDao { //将book对象添加到数据库中
    void insert() throws Exception;

    void deleteById() throws Exception;

    void update(int id) throws Exception;

    Integer getBookTypeById() throws Exception;

    Integer getBookTypeByName() throws Exception;

    List<BookType> getAll() throws Exception;
}
